import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity()
export class TopKeywords {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ type: 'varchar', length: 255, unique: true })
  keyword: string;

  @Column({ type: 'int', default: 0 })
  searchCount: number;
}
